<!DOCTYPE html>
<html lang="en">
  <head>
    <title>PolarOnlineStreamingApi Protocol Reference</title>
    <link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="../css/highlight.css" />
    <meta charset='utf-8'>
    <script src="../js/jquery.min.js" defer></script>
    <script src="../js/jazzy.js" defer></script>
    
    <script src="../js/lunr.min.js" defer></script>
    <script src="../js/typeahead.jquery.js" defer></script>
    <script src="../js/jazzy.search.js" defer></script>
  </head>
  <body>
    <a name="//apple_ref/swift/Protocol/PolarOnlineStreamingApi" class="dashAnchor"></a>
    <a title="PolarOnlineStreamingApi Protocol Reference"></a>
    <header>
      <div class="content-wrapper">
        <p><a href="../index.html">PolarBleSdk 3.2.7 Docs</a> (51% documented)</p>
        <div class="header-right">
          <form role="search" action="../search.json">
            <input type="text" placeholder="Search documentation" data-typeahead>
          </form>
        </div>
      </div>
    </header>
    <div class="content-wrapper">
      <p id="breadcrumbs">
        <a href="../index.html">PolarBleSdk</a>
        <img id="carat" src="../img/carat.png" alt=""/>
        <a href="../Protocols.html">Protocols</a>
        <img id="carat" src="../img/carat.png" alt=""/>
        PolarOnlineStreamingApi Protocol Reference
      </p>
    </div>
    <div class="content-wrapper">
      <nav class="sidebar">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a href="../Classes.html">Classes</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Classes/BleHtsClient.html">BleHtsClient</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/BleHtsClient/TemperatureMeasurement.html">– TemperatureMeasurement</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/HealthThermometer.html">HealthThermometer</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/PolarBackupManager.html">PolarBackupManager</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/PolarBackupManager.html#/s:11PolarBleSdk0A13BackupManagerC0D8FileDataV">– BackupFileData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/PolarBleApiDefaultImpl.html">PolarBleApiDefaultImpl</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/PolarSleepData.html">PolarSleepData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/PolarSleepData/SleepWakeState.html">– SleepWakeState</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/PolarSleepData/SleepRating.html">– SleepRating</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/PolarSleepData/PolarSleepAnalysisResult.html">– PolarSleepAnalysisResult</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/PolarSleepData/SleepWakePhase.html">– SleepWakePhase</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/PolarSleepData/SleepCycle.html">– SleepCycle</a>
              </li>
              <li class="nav-group-task">
                <a href="../Classes/PolarSleepData/OriginalSleepRange.html">– OriginalSleepRange</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Enums.html">Enumerations</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Enums/FirmwareUpdateStatus.html">FirmwareUpdateStatus</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/OhrDataType.html">OhrDataType</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/PolarActivityDataType.html">PolarActivityDataType</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/PolarBleSdkFeature.html">PolarBleSdkFeature</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/PolarDeviceDataType.html">PolarDeviceDataType</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/PolarErrors.html">PolarErrors</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/PolarOfflineRecordingData.html">PolarOfflineRecordingData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/PolarOfflineRecordingTriggerMode.html">PolarOfflineRecordingTriggerMode</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/PpgDataType.html">PpgDataType</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/RecordingInterval.html">RecordingInterval</a>
              </li>
              <li class="nav-group-task">
                <a href="../Enums/SampleType.html">SampleType</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Extensions.html">Extensions</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Extensions/PrimitiveSequence.html">PrimitiveSequence</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Protocols.html">Protocols</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Protocols/PolarActivityApi.html">PolarActivityApi</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarBleApi.html">PolarBleApi</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarBleApiDeviceFeaturesObserver.html">PolarBleApiDeviceFeaturesObserver</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarBleApiDeviceHrObserver.html">PolarBleApiDeviceHrObserver</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarBleApiDeviceInfoObserver.html">PolarBleApiDeviceInfoObserver</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarBleApiLogger.html">PolarBleApiLogger</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarBleApiObserver.html">PolarBleApiObserver</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarBleApiPowerStateObserver.html">PolarBleApiPowerStateObserver</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarBleApiSdkModeFeatureObserver.html">PolarBleApiSdkModeFeatureObserver</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarFirmwareUpdateApi.html">PolarFirmwareUpdateApi</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarH10OfflineExerciseApi.html">PolarH10OfflineExerciseApi</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarOfflineRecordingApi.html">PolarOfflineRecordingApi</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarOnlineStreamingApi.html">PolarOnlineStreamingApi</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarSdkModeApi.html">PolarSdkModeApi</a>
              </li>
              <li class="nav-group-task">
                <a href="../Protocols/PolarSleepApi.html">PolarSleepApi</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Structs.html">Structures</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Structs/LedConfig.html">LedConfig</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarActiveTime.html">PolarActiveTime</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarActiveTimeData.html">PolarActiveTimeData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarDiskSpaceData.html">PolarDiskSpaceData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarDistanceData.html">PolarDistanceData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarFirstTimeUseConfig.html">PolarFirstTimeUseConfig</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarFirstTimeUseConfig/Gender.html">– Gender</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarFirstTimeUseConfig/TrainingBackground.html">– TrainingBackground</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarOfflineRecordingEntry.html">PolarOfflineRecordingEntry</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarOfflineRecordingTrigger.html">PolarOfflineRecordingTrigger</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarRecordingSecret.html">PolarRecordingSecret</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarSensorSetting.html">PolarSensorSetting</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarSensorSetting/SettingType.html">– SettingType</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/PolarStepsData.html">PolarStepsData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Structs/SDLogConfig.html">SDLogConfig</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="../Typealiases.html">Type Aliases</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A7AccDataa">PolarAccData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A10DeviceInfoa">PolarDeviceInfo</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A7EcgDataa">PolarEcgData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A12ExerciseDataa">PolarExerciseData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A13ExerciseEntrya">PolarExerciseEntry</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A8GyroDataa">PolarGyroData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A15HrBroadcastDataa">PolarHrBroadcastData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A6HrDataa">PolarHrData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A16MagnetometerDataa">PolarMagnetometerData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A7OhrDataa">PolarOhrData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A7PpgDataa">PolarPpgData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A7PpiDataa">PolarPpiData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A12PressureDataa">PolarPressureData</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A15RecordingStatusa">PolarRecordingStatus</a>
              </li>
              <li class="nav-group-task">
                <a href="../Typealiases.html#/s:11PolarBleSdk0A15TemperatureDataa">PolarTemperatureData</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">
        <section>
          <section class="section">
            <h1>PolarOnlineStreamingApi</h1>
              <div class="declaration">
                <div class="language">
                  
                  <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">PolarOnlineStreamingApi</span></code></pre>

                </div>
              </div>
            <p>Online steaming API.</p>

<p>Online streaming makes it possible to stream live online data from Polar device.</p>

<p>Requires features <code><a href="../Enums/PolarBleSdkFeature.html#/s:11PolarBleSdk0abC7FeatureO30feature_polar_online_streamingyA2CmF">PolarBleSdkFeature.feature_polar_online_streaming</a></code></p>

<p>Note, online streaming is supported by VeritySense, H10 and OH1 devices</p>

          </section>
          <section class="section task-group-section">
            <div class="task-group">
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0A18OnlineStreamingApiP012getAvailableD15StreamDataTypesy7RxSwift17PrimitiveSequenceVyAE11SingleTraitOShyAA0a6DeviceJ4TypeOGGSSF"></a>
                    <a name="//apple_ref/swift/Method/getAvailableOnlineStreamDataTypes(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0A18OnlineStreamingApiP012getAvailableD15StreamDataTypesy7RxSwift17PrimitiveSequenceVyAE11SingleTraitOShyAA0a6DeviceJ4TypeOGGSSF">getAvailableOnlineStreamDataTypes(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Get the data types available in this device for online streaming</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">getAvailableOnlineStreamDataTypes</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Single</span><span class="o">&lt;</span><span class="kt">Set</span><span class="o">&lt;</span><span class="kt"><a href="../Enums/PolarDeviceDataType.html">PolarDeviceDataType</a></span><span class="o">&gt;&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Single stream

<ul>
<li>success: set of available online streaming data types in this device</li>
<li>onError: see <code><a href="../Enums/PolarErrors.html">PolarErrors</a></code> for possible errors invoked</li>
</ul></p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0A18OnlineStreamingApiP21requestStreamSettings_7feature7RxSwift17PrimitiveSequenceVyAF11SingleTraitOAA0A13SensorSettingVGSS_AA0A14DeviceDataTypeOtF"></a>
                    <a name="//apple_ref/swift/Method/requestStreamSettings(_:feature:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0A18OnlineStreamingApiP21requestStreamSettings_7feature7RxSwift17PrimitiveSequenceVyAF11SingleTraitOAA0A13SensorSettingVGSS_AA0A14DeviceDataTypeOtF">requestStreamSettings(_:<wbr>feature:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Request the stream settings available in current operation mode. This request shall be used before the stream is started
 to decide currently available settings. The available settings depend on the state of the device. For example, if any stream(s)
 or optical heart rate measurement is already enabled, then the device may limit the offer of possible settings for other stream feature.
 Requires <code>polarSensorStreaming</code> feature.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">requestStreamSettings</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">feature</span><span class="p">:</span> <span class="kt"><a href="../Enums/PolarDeviceDataType.html">PolarDeviceDataType</a></span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Single</span><span class="o">&lt;</span><span class="kt"><a href="../Structs/PolarSensorSetting.html">PolarSensorSetting</a></span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Single stream

<ul>
<li>success: once after settings received from device</li>
<li>onError: see <code><a href="../Enums/PolarErrors.html">PolarErrors</a></code> for possible errors invoked</li>
</ul></p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0A18OnlineStreamingApiP25requestFullStreamSettings_7feature7RxSwift17PrimitiveSequenceVyAF11SingleTraitOAA0A13SensorSettingVGSS_AA0A14DeviceDataTypeOtF"></a>
                    <a name="//apple_ref/swift/Method/requestFullStreamSettings(_:feature:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0A18OnlineStreamingApiP25requestFullStreamSettings_7feature7RxSwift17PrimitiveSequenceVyAF11SingleTraitOAA0A13SensorSettingVGSS_AA0A14DeviceDataTypeOtF">requestFullStreamSettings(_:<wbr>feature:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Request full steam settings capabilities. The request returns the all capabilities of the requested streaming feature not limited by the current operation mode.
Requires <code>polarSensorStreaming</code> feature. This request is supported only by Polar Verity Sense firmware 1.1.5</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">requestFullStreamSettings</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">feature</span><span class="p">:</span> <span class="kt"><a href="../Enums/PolarDeviceDataType.html">PolarDeviceDataType</a></span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Single</span><span class="o">&lt;</span><span class="kt"><a href="../Structs/PolarSensorSetting.html">PolarSensorSetting</a></span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>identifier</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>polar device id</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>feature</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>selected feature from<code><a href="../Enums/PolarDeviceDataType.html">PolarDeviceDataType</a></code></p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Single stream

<ul>
<li>success: once after full settings received from device</li>
<li>onError: see <code><a href="../Enums/PolarErrors.html">PolarErrors</a></code> for possible errors invoked</li>
</ul></p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0A18OnlineStreamingApiP07startHrE0y7RxSwift10ObservableCySays5UInt8V2hr_SaySiG5rrsMsSb11rrAvailableSb13contactStatusSb0rS9SupportedtGGSSF"></a>
                    <a name="//apple_ref/swift/Method/startHrStreaming(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0A18OnlineStreamingApiP07startHrE0y7RxSwift10ObservableCySays5UInt8V2hr_SaySiG5rrsMsSb11rrAvailableSb13contactStatusSb0rS9SupportedtGGSSF">startHrStreaming(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Start heart rate stream. Heart rate stream is stopped if the connection is closed,
error occurs or stream is disposed.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">startHrStreaming</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Observable</span><span class="o">&lt;</span><span class="kt"><a href="../Typealiases.html#/s:11PolarBleSdk0A6HrDataa">PolarHrData</a></span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>identifier</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Polar device id or device address</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Observable stream

<ul>
<li>onNext: for every air packet received. see <code><a href="../Typealiases.html#/s:11PolarBleSdk0A6HrDataa">PolarHrData</a></code></li>
<li>onError: see <code><a href="../Enums/PolarErrors.html">PolarErrors</a></code> for possible errors invoked</li>
</ul></p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0A18OnlineStreamingApiP08startEcgE0_8settings7RxSwift10ObservableCys6UInt64V9timeStamp_SayAjK_s5Int32V7voltagetG7samplestGSS_AA0A13SensorSettingVtF"></a>
                    <a name="//apple_ref/swift/Method/startEcgStreaming(_:settings:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0A18OnlineStreamingApiP08startEcgE0_8settings7RxSwift10ObservableCys6UInt64V9timeStamp_SayAjK_s5Int32V7voltagetG7samplestGSS_AA0A13SensorSettingVtF">startEcgStreaming(_:<wbr>settings:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Start the ECG (Electrocardiography) stream. ECG stream is stopped if the connection is closed, error occurs or stream is disposed.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">startEcgStreaming</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">settings</span><span class="p">:</span> <span class="kt"><a href="../Structs/PolarSensorSetting.html">PolarSensorSetting</a></span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Observable</span><span class="o">&lt;</span><span class="kt"><a href="../Typealiases.html#/s:11PolarBleSdk0A7EcgDataa">PolarEcgData</a></span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>identifier</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Polar device id or device address</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>settings</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>selected settings to start the stream</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Observable stream

<ul>
<li>onNext: for every air packet received. see <code><a href="../Typealiases.html#/s:11PolarBleSdk0A7EcgDataa">PolarEcgData</a></code></li>
<li>onError: see <code><a href="../Enums/PolarErrors.html">PolarErrors</a></code> for possible errors invoked</li>
</ul></p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0A18OnlineStreamingApiP08startAccE0_8settings7RxSwift10ObservableCys6UInt64V9timeStamp_SayAjK_s5Int32V1xAM1yAM1ztG7samplestGSS_AA0A13SensorSettingVtF"></a>
                    <a name="//apple_ref/swift/Method/startAccStreaming(_:settings:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0A18OnlineStreamingApiP08startAccE0_8settings7RxSwift10ObservableCys6UInt64V9timeStamp_SayAjK_s5Int32V1xAM1yAM1ztG7samplestGSS_AA0A13SensorSettingVtF">startAccStreaming(_:<wbr>settings:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Start ACC (Accelerometer) stream. ACC stream is stopped if the connection is closed, error occurs or stream is disposed.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">startAccStreaming</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">settings</span><span class="p">:</span> <span class="kt"><a href="../Structs/PolarSensorSetting.html">PolarSensorSetting</a></span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Observable</span><span class="o">&lt;</span><span class="kt"><a href="../Typealiases.html#/s:11PolarBleSdk0A7AccDataa">PolarAccData</a></span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Observable stream

<ul>
<li>onNext: for every air packet received. see <code><a href="../Typealiases.html#/s:11PolarBleSdk0A7AccDataa">PolarAccData</a></code></li>
<li>onError: see <code><a href="../Enums/PolarErrors.html">PolarErrors</a></code> for possible errors invoked</li>
</ul></p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0A18OnlineStreamingApiP09startGyroE0_8settings7RxSwift10ObservableCys6UInt64V9timeStamp_SayAjK_Sf1xSf1ySf1ztG7samplestGSS_AA0A13SensorSettingVtF"></a>
                    <a name="//apple_ref/swift/Method/startGyroStreaming(_:settings:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0A18OnlineStreamingApiP09startGyroE0_8settings7RxSwift10ObservableCys6UInt64V9timeStamp_SayAjK_Sf1xSf1ySf1ztG7samplestGSS_AA0A13SensorSettingVtF">startGyroStreaming(_:<wbr>settings:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Start Gyro stream. Gyro stream is stopped if the connection is closed, error occurs during start or stream is disposed.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">startGyroStreaming</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">settings</span><span class="p">:</span> <span class="kt"><a href="../Structs/PolarSensorSetting.html">PolarSensorSetting</a></span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Observable</span><span class="o">&lt;</span><span class="kt"><a href="../Typealiases.html#/s:11PolarBleSdk0A8GyroDataa">PolarGyroData</a></span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>identifier</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Polar device id or device address</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>settings</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>selected settings to start the stream</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0A18OnlineStreamingApiP017startMagnetometerE0_8settings7RxSwift10ObservableCys6UInt64V9timeStamp_SayAjK_Sf1xSf1ySf1ztG7samplestGSS_AA0A13SensorSettingVtF"></a>
                    <a name="//apple_ref/swift/Method/startMagnetometerStreaming(_:settings:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0A18OnlineStreamingApiP017startMagnetometerE0_8settings7RxSwift10ObservableCys6UInt64V9timeStamp_SayAjK_Sf1xSf1ySf1ztG7samplestGSS_AA0A13SensorSettingVtF">startMagnetometerStreaming(_:<wbr>settings:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Start magnetometer stream. Magnetometer stream is stopped if the connection is closed, error occurs or stream is disposed.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">startMagnetometerStreaming</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">settings</span><span class="p">:</span> <span class="kt"><a href="../Structs/PolarSensorSetting.html">PolarSensorSetting</a></span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Observable</span><span class="o">&lt;</span><span class="kt"><a href="../Typealiases.html#/s:11PolarBleSdk0A16MagnetometerDataa">PolarMagnetometerData</a></span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>identifier</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Polar device id or device address</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>settings</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>selected settings to start the stream</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0A18OnlineStreamingApiP08startOhrE0_8settings7RxSwift10ObservableCys6UInt64V9timeStamp_AA0H8DataTypeO4typeSayAjK_Says5Int32VG14channelSamplestG7samplestGSS_AA0A13SensorSettingVtF"></a>
                    <a name="//apple_ref/swift/Method/startOhrStreaming(_:settings:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0A18OnlineStreamingApiP08startOhrE0_8settings7RxSwift10ObservableCys6UInt64V9timeStamp_AA0H8DataTypeO4typeSayAjK_Says5Int32VG14channelSamplestG7samplestGSS_AA0A13SensorSettingVtF">startOhrStreaming(_:<wbr>settings:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Start OHR (Optical heart rate) PPG (Photoplethysmography) stream. PPG stream is stopped if the connection is closed, error occurs or stream is disposed.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@available</span><span class="p">(</span><span class="o">*</span><span class="p">,</span> <span class="n">deprecated</span><span class="p">,</span> <span class="nv">renamed</span><span class="p">:</span> <span class="s">"startPpgStreaming"</span><span class="p">)</span>
<span class="kd">func</span> <span class="nf">startOhrStreaming</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">settings</span><span class="p">:</span> <span class="kt"><a href="../Structs/PolarSensorSetting.html">PolarSensorSetting</a></span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Observable</span><span class="o">&lt;</span><span class="kt"><a href="../Typealiases.html#/s:11PolarBleSdk0A7OhrDataa">PolarOhrData</a></span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>identifier</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Polar device id or device address</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>settings</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>selected settings to start the stream</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Observable stream

<ul>
<li>onNext: for every air packet received. see <code><a href="../Typealiases.html#/s:11PolarBleSdk0A7OhrDataa">PolarOhrData</a></code></li>
<li>onError: see <code><a href="../Enums/PolarErrors.html">PolarErrors</a></code> for possible errors invoked</li>
</ul></p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0A18OnlineStreamingApiP08startPpgE0_8settings7RxSwift10ObservableCyAA0H8DataTypeO4type_Says6UInt64V9timeStamp_Says5Int32VG14channelSamplestG7samplestGSS_AA0A13SensorSettingVtF"></a>
                    <a name="//apple_ref/swift/Method/startPpgStreaming(_:settings:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0A18OnlineStreamingApiP08startPpgE0_8settings7RxSwift10ObservableCyAA0H8DataTypeO4type_Says6UInt64V9timeStamp_Says5Int32VG14channelSamplestG7samplestGSS_AA0A13SensorSettingVtF">startPpgStreaming(_:<wbr>settings:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Start optical sensor PPG (Photoplethysmography) stream. PPG stream is stopped if the connection is closed, error occurs or stream is disposed.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">startPpgStreaming</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">settings</span><span class="p">:</span> <span class="kt"><a href="../Structs/PolarSensorSetting.html">PolarSensorSetting</a></span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Observable</span><span class="o">&lt;</span><span class="kt"><a href="../Typealiases.html#/s:11PolarBleSdk0A7PpgDataa">PolarPpgData</a></span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>identifier</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Polar device id or device address</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>settings</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>selected settings to start the stream</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Observable stream

<ul>
<li>onNext: for every air packet received. see <code><a href="../Typealiases.html#/s:11PolarBleSdk0A7OhrDataa">PolarOhrData</a></code></li>
<li>onError: see <code><a href="../Enums/PolarErrors.html">PolarErrors</a></code> for possible errors invoked</li>
</ul></p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0A18OnlineStreamingApiP08startPpiE0y7RxSwift10ObservableCys6UInt64V9timeStamp_SaySi2hr_s6UInt16V6ppInMsAM0Q13ErrorEstimateSi10blockerBitSi17skinContactStatusSi0xY9SupportedtG7samplestGSSF"></a>
                    <a name="//apple_ref/swift/Method/startPpiStreaming(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0A18OnlineStreamingApiP08startPpiE0y7RxSwift10ObservableCys6UInt64V9timeStamp_SaySi2hr_s6UInt16V6ppInMsAM0Q13ErrorEstimateSi10blockerBitSi17skinContactStatusSi0xY9SupportedtG7samplestGSSF">startPpiStreaming(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Start PPI (Pulse to Pulse interval) stream.
PPI stream is stopped if the connection is closed, error occurs or stream is disposed.
Notice that there is a delay before PPI data stream starts.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">startPpiStreaming</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Observable</span><span class="o">&lt;</span><span class="kt"><a href="../Typealiases.html#/s:11PolarBleSdk0A7PpiDataa">PolarPpiData</a></span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>identifier</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Polar device id or device address</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Observable stream

<ul>
<li>onNext: for every air packet received. see <code><a href="../Typealiases.html#/s:11PolarBleSdk0A7PpiDataa">PolarPpiData</a></code></li>
<li>onError: see <code><a href="../Enums/PolarErrors.html">PolarErrors</a></code> for possible errors invoked</li>
</ul></p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0A18OnlineStreamingApiP20startOhrPPIStreamingy7RxSwift10ObservableCys6UInt64V9timeStamp_SaySi2hr_s6UInt16V6ppInMsAM0R13ErrorEstimateSi10blockerBitSi17skinContactStatusSi0yZ9SupportedtG7samplestGSSF"></a>
                    <a name="//apple_ref/swift/Method/startOhrPPIStreaming(_:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0A18OnlineStreamingApiP20startOhrPPIStreamingy7RxSwift10ObservableCys6UInt64V9timeStamp_SaySi2hr_s6UInt16V6ppInMsAM0R13ErrorEstimateSi10blockerBitSi17skinContactStatusSi0yZ9SupportedtG7samplestGSSF">startOhrPPIStreaming(_:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">startOhrPPIStreaming</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Observable</span><span class="o">&lt;</span><span class="kt"><a href="../Typealiases.html#/s:11PolarBleSdk0A7PpiDataa">PolarPpiData</a></span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0A18OnlineStreamingApiP016startTemperatureE0_8settings7RxSwift10ObservableCys6UInt64V9timeStamp_SayAjK_Sf11temperaturetG7samplestGSS_AA0A13SensorSettingVtF"></a>
                    <a name="//apple_ref/swift/Method/startTemperatureStreaming(_:settings:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0A18OnlineStreamingApiP016startTemperatureE0_8settings7RxSwift10ObservableCys6UInt64V9timeStamp_SayAjK_Sf11temperaturetG7samplestGSS_AA0A13SensorSettingVtF">startTemperatureStreaming(_:<wbr>settings:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Start temperature stream. Temperature stream is stopped if the connection is closed,
error occurs or stream is disposed.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">startTemperatureStreaming</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">settings</span><span class="p">:</span> <span class="kt"><a href="../Structs/PolarSensorSetting.html">PolarSensorSetting</a></span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Observable</span><span class="o">&lt;</span><span class="kt"><a href="../Typealiases.html#/s:11PolarBleSdk0A15TemperatureDataa">PolarTemperatureData</a></span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>identifier</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Polar device id or device address</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>settings</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>selected settings to start the stream</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Observable stream

<ul>
<li>onNext: for every air packet received. see <code><a href="../Typealiases.html#/s:11PolarBleSdk0A15TemperatureDataa">PolarTemperatureData</a></code></li>
<li>onError: see <code><a href="../Enums/PolarErrors.html">PolarErrors</a></code> for possible errors invoked</li>
</ul></p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:11PolarBleSdk0A18OnlineStreamingApiP013startPressureE0_8settings7RxSwift10ObservableCys6UInt64V9timeStamp_SayAjK_Sf8pressuretG7samplestGSS_AA0A13SensorSettingVtF"></a>
                    <a name="//apple_ref/swift/Method/startPressureStreaming(_:settings:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:11PolarBleSdk0A18OnlineStreamingApiP013startPressureE0_8settings7RxSwift10ObservableCys6UInt64V9timeStamp_SayAjK_Sf8pressuretG7samplestGSS_AA0A13SensorSettingVtF">startPressureStreaming(_:<wbr>settings:<wbr>)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Start pressure stream. Pressure stream is stopped if the connection is closed,
error occurs or stream is disposed.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">startPressureStreaming</span><span class="p">(</span><span class="n">_</span> <span class="nv">identifier</span><span class="p">:</span> <span class="kt">String</span><span class="p">,</span> <span class="nv">settings</span><span class="p">:</span> <span class="kt"><a href="../Structs/PolarSensorSetting.html">PolarSensorSetting</a></span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Observable</span><span class="o">&lt;</span><span class="kt"><a href="../Typealiases.html#/s:11PolarBleSdk0A12PressureDataa">PolarPressureData</a></span><span class="o">&gt;</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>identifier</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>Polar device id or device address</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>settings</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>selected settings to start the stream</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>Observable stream

<ul>
<li>onNext: for every air packet received. see <code><a href="../Typealiases.html#/s:11PolarBleSdk0A12PressureDataa">PolarPressureData</a></code></li>
<li>onError: see <code><a href="../Enums/PolarErrors.html">PolarErrors</a></code> for possible errors invoked</li>
</ul></p>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </section>
        </section>
        <section id="footer">
          <p>&copy; 2024 <a class="link" href="https://github.com/polarofficial/polar-ble-sdk" target="_blank" rel="external noopener">Polar Electro Oy</a>. All rights reserved. (Last updated: 2024-09-02)</p>
          <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.15.0</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
        </section>
      </article>
    </div>
  </body>
</html>
